<!DOCTYPE html>
<html>
<head>
	<title>会员注册</title>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<script src="../js/jquery-3.1.1.min.js"></script>
	<!-- <script src="../js/messages_zh.min.js"></script> -->
	<!-- <script src="../jsjquery.validate.min.js"></script> -->
	<link rel="stylesheet" href="../css/Register.css">
</head>
<body>
	<header>
		<div id="top">
			<img src="../images/nav_logo_03.png" >
		</div>
	</header>
	<!-- 章节 -->
	<section>
		<div>
			会员注册
		</div>	
			<form >
				 <ul>
					<li>
						<div class="state">
							国家和地区
						</div>
							<div>
								<select name="" id="twelve">
									<option value="86" class="d2">中国</option>
									<option value="61">澳大利亚</option>
									<option value="82">韩国</option>
									<option value="1">加拿大</option>
									<option value="60">马来西亚</option>
									<option value="1">美国</option>
									<option value="81">日本</option>
									<option value="65">新加坡</option>
									<option value="44">英国</option>
									<option value="853">中国澳门</option>
									<option value="886">中国香港</option>
									<option value="852">中国台湾</option>
								</select>
							</div>
								<img src="../images/下尖号.png" alt="下尖号" onclick="demo()">
					</li>
					<li>
						<div>
							<i id="prefixC">+86</i>
							|
						</div>
				            <div>
				            	<input type="tel" placeholder="请输入手机号码" class="username" name="username" maxlength="11" required>
				            </div>	   
					</li>
					<li>
						<div>图片码</div>
						<!-- <div> -->
							<input type="text" class="username_text" maxlength="4" name="imgcode" placeholder="请输入图片码" required="">
								<div>
									<a onClick="swapPic()">
										<img src="../images/验证码图片.jpg" id="code_image" class="yzhm-img" alt="验证码">
									</a>
								</div>
						<!-- </div>				 -->
					</li>
					<li> 
						<div>短信码</div>
							<div>
								<input type="tel" class="username" maxlength="4" name="smscode" placeholder="请输入验证码" required="">
					            <span class="s_code">
					            	获取验证码
					            </span>
					        </div>	    
					</li>
					<li>
						<div>密码</div>
			            	<div>
			            		<input type="password" class="username" placeholder="6-16位数字/字母密码" name="password" maxlength="16" required="">
			            	 	<span id="eys" class="eys" data-flag="0">
			            	 		<img src="../images/eye.jpg" alt="密码眼睛">
			            	 	</span>
			            	</div>            	
					</li>
				 </ul>
			</form>
				<div class="short">
			        <span>
						没收到短信验证码？请使用
			        	<a href="#" class="voice">语音验证码</a>
			        </span>
			    </div>
			    	<div class="reg">
						<input type="submit" value="注册" class="btn">	
					</div>	
						<div class="m_reg">		
						    <span >
						        <a href="../html/login-登录.html" class="m_reg_txt">
						        	已有账号登录
						        </a>
						    </span>
					   	</div>	
	</section>
	<footer>
		<div class="foot">
			<a class="foot_div foot_div1" href="#"><img src="../images/首页.png">
			<p>首页</p>
			</a>
			<a class="foot_div"  href="#"><img src="../images/分类.png">
			<p>分类</p>
			</a>
			<a class="foot_div"  href="#"><img src="../images/喇叭.png">
			<p>热卖</p>
			</a>
			<a class="foot_div"  href="#"><img src="../images/购物袋.png">
			<p>购物袋</p>
			</a>
			<a class="foot_div"  href="#"><img src="../images/用户.png">
			<p>用户</p>
			</a>
		</div>
	</footer>

	<script>
		// function click(){
		// 	document.getELementById('down')
		// 	$('select').css("display","inline-block");
		// }
		// var rand1 = 0;
		// 图片随机
	// var useRand = 0;
	// images = new Array;
	// images[1] = new Image();
	// images[1].src = "../images/验证码图片.jpg";
	// images[2] = new Image();
	// images[2].src = "../images/验证码图片a.jpg";
	// images[3] = new Image();
	// images[3].src = "../images/验证码图片b.jpg";
	// function swapPic() {
	// var imgnum = images.length - 1;
	// do {
	// var randnum = Math.random();
	// rand1 = Math.round((imgnum - 1) * randnum) + 1;
	// } while (rand1 == useRand);
	// useRand = rand1;
	// document.randimg.src = images[useRand].src;
	// }
	// 下拉框
	// function demo(){     
	// 	test1.focus();     
	// 	var WshShell = new ActiveXObject("Wscript.Shell");     
	// 	try {         
	// 	WshShell.SendKeys("%{DOWN}");     
	// 	} catch(e){}              
	// 	WshShell.Quit; 
	// }
	// 
	var img = ducument.getElementById("img");
var div = ducument.getElementById("div");
img.onclick = function(){
if(div.style.display=="block")
{
div.style.display='none';
}
else
{
div.style.display='block';
}
}
 </script>	
</body>
</html>